<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="a.js" type="application/javascript"></script>
    <script type="application/javascript">
        console.log(globalName);
        globalFunc("wwww");
    </script>
</head>
<body>

</body>
</html>